<template>
  <div class="width">
    <el-date-picker
        v-bind="vBind"
        v-model="formData[item.prop]"
        :placeholder="item.props?.placeholder || '请选择'+item.label"
        @change="isSearchEmitSearch($event,'change')"
        ref="component"
    ></el-date-picker>
  </div>
</template>

<script lang="ts">
import {ComsCommonMixin} from "../mixins/ComsCommonMixin";
export default {
  name: 'DatePicker',
  mixins:[ComsCommonMixin],
  methods: {
    initValue() {
      this.formData[this.item.prop] = ''
    }
  }
}
</script>

<style lang="scss" scoped>
</style>
